package com.cskaoyan.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author stone
 * @date 2022/12/26 17:04
 */
@RestController
public class HelloController {

    @RequestMapping("hello/exception")
    public String helloException() {
        System.out.println("hello exception");
        int i = 1 / 0;
        return "hello exception";
    }
}
